package com.clubs.coding.Service;

import cn.hutool.json.JSONObject;
import com.clubs.coding.model.pojo.ClassifyLinkman;
import com.clubs.coding.model.pojo.News;
import com.clubs.coding.model.request.NewsReq;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ConstantAdminService {


    //@Override
    //public PageInfo list(Integer pageNum, Integer pageSize, Integer isHome){
    //    PageHelper.startPage(pageNum, pageSize,"creation_time desc ");
    //    List<News> newsList = new ArrayList<>();
    //    if (isHome==1) {
    //        newsList = newsMapper.selectAllByShowIndexNews();
    //    }else{
    //        newsList = newsMapper.selectAll();
    //    }
    //    PageInfo pageInfo = new PageInfo(newsList);
    //    pageInfo.setList(newsList);
    //   return pageInfo;
    //}
    List<ClassifyLinkman> linkman();

    String dataAnalysis();
}
